package org.study.entity;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {

	private static final long serialVersionUID = 1L;

	public static final String OBJECTKEY = "org.study.entity.User";

	/**
	 * 
	 ss_user.id
	 */
	private Long id;

	/**
	 * 登陆名 ss_user.login_name
	 */
	private String loginName;

	/**
	 * 姓名 ss_user.name
	 */
	private String name;

	/**
	 * 密码 ss_user.password
	 */
	private String password;

	/**
	 * salt值 ss_user.salt
	 */
	private String salt;

	/**
	 * 邮件 ss_user.email
	 */
	private String email;

	/**
	 * 状态 ss_user.status
	 */
	private String status;

	/**
	 * 权限组ID ss_user.team_id
	 */
	private Long teamId;

	/**
	 * 创建时间 ss_user.create_tm
	 */
	private Date createTm;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName == null ? null : loginName.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password == null ? null : password.trim();
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt == null ? null : salt.trim();
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email == null ? null : email.trim();
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status == null ? null : status.trim();
	}

	public Long getTeamId() {
		return teamId;
	}

	public void setTeamId(Long teamId) {
		this.teamId = teamId;
	}

	public Date getCreateTm() {
		return createTm;
	}

	public void setCreateTm(Date createTm) {
		this.createTm = createTm;
	}

	public String getObjectKey() {
		return OBJECTKEY;
	}

	public Long getKey() {
		return this.id;
	}
}